package com.bm.server.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

@Configuration//配置
public class WebSocketConfig {
    //创建WebSocket服务 解析器
    @Bean
    public ServerEndpointExporter creteSEE(){
        return new ServerEndpointExporter();
    }
}